package dao.impl;

import java.util.List;

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import bean.Area;
import dao.AreaDao;

public class AreaDaoImpl extends HibernateDaoSupport implements AreaDao {

	@SuppressWarnings("unchecked")
	@Override
	public List<Area> selectAll() {
		List<Area> result=(List<Area>)this.getHibernateTemplate().find("from Area");
		return result;
	}

}
